package com.example.doc.mapper;

import com.example.doc.model.Role;
import com.example.doc.model.User;

import java.util.List;

public interface UserMapper {

    Integer addUser(User user);

    User findUserByUsername(String username);

    List<Role> getUserRolesById(Long id);
}
